Interface RendererInterface

Summary

Fully Qualified Name: Laminas\Barcode\Renderer\RendererInterface

Description

Class for rendering the barcode

Methods

Name Description Defined By
__construct() Constructor RendererInterface
checkParams() Checking of parameters after all settings RendererInterface
draw() Draw the barcode in the rendering resource RendererInterface
getAutomaticRenderError() Retrieve the automatic rendering of exception RendererInterface
getBarcode() Retrieve the barcode object RendererInterface
getHorizontalPosition() Horizontal position of the barcode in the rendering resource RendererInterface
getLeftOffset() Retrieve vertical adjustment RendererInterface
getModuleSize() Set the size of a module RendererInterface
getRendererNamespace() Retrieve renderer namespace RendererInterface
getTopOffset() Retrieve vertical adjustment RendererInterface
getType() Retrieve renderer type RendererInterface
getVerticalPosition() Vertical position of the barcode in the rendering resource RendererInterface
render() Render the resource by sending headers and drawed resource RendererInterface
setAutomaticRenderError() Activate/Deactivate the automatic rendering of exception RendererInterface
setBarcode() Set the barcode object RendererInterface
setHorizontalPosition() Horizontal position of the barcode in the rendering resource RendererInterface
setLeftOffset() Manually adjust left position RendererInterface
setModuleSize() Set the size of a module RendererInterface
setOptions() Set renderer state from options array RendererInterface
setRendererNamespace() Set renderer namespace for autoloading RendererInterface
setTopOffset() Manually adjust top position RendererInterface
setVerticalPosition() Vertical position of the barcode in the rendering resource RendererInterface

Method Details

__construct()

Constructor

Parameter Name Type Description
$options array|\Traversable

Returns:

checkParams()

Checking of parameters after all settings

Returns: bool

draw()

Draw the barcode in the rendering resource

Returns: mixed

getAutomaticRenderError()

Retrieve the automatic rendering of exception

Returns: bool

getBarcode()

Retrieve the barcode object

Returns: \ObjectInterface

getHorizontalPosition()

Horizontal position of the barcode in the rendering resource

Returns: string

getLeftOffset()

Retrieve vertical adjustment

Returns: int

getModuleSize()

Set the size of a module

Returns: float

getRendererNamespace()

Retrieve renderer namespace

Returns: string

getTopOffset()

Retrieve vertical adjustment

Returns: int

getType()

Retrieve renderer type

Returns: string

getVerticalPosition()

Vertical position of the barcode in the rendering resource

Returns: string

render()

Render the resource by sending headers and drawed resource

Returns: mixed

setAutomaticRenderError()

Activate/Deactivate the automatic rendering of exception

Parameter Name Type Description
$value bool

Returns: self

setBarcode()

Set the barcode object

Parameter Name Type Description
$barcode \ObjectInterface

Returns: self Provides a fluent interface

setHorizontalPosition()

Horizontal position of the barcode in the rendering resource

Parameter Name Type Description
$value string

Returns: self Provides a fluent interface

setLeftOffset()

Manually adjust left position

Parameter Name Type Description
$value int

Returns: self Provides a fluent interface

setModuleSize()

Set the size of a module

Parameter Name Type Description
$value float

Returns: self Provides a fluent interface

setOptions()

Set renderer state from options array

Parameter Name Type Description
$options array

Returns: self Provides a fluent interface

setRendererNamespace()

Set renderer namespace for autoloading

Parameter Name Type Description
$namespace string

Returns: self Provides a fluent interface

setTopOffset()

Manually adjust top position

Parameter Name Type Description
$value int

Returns: self Provides a fluent interface

setVerticalPosition()

Vertical position of the barcode in the rendering resource

Parameter Name Type Description
$value string

Returns: self Provides a fluent interface

Top